-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: 📝 enhance readability of KaTeX
(#2)
#3
base: master
Are you sure you want to change the base?
Conversation
delete CNAME to avoid merging it upstream
Deployed a GitHub Pages staging environment on my fork, changes can be previewed at |
42f0cba
to
06071ef
Compare
Ready to be reviewed and merged! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨
@@ -851,10 +851,10 @@ | |||
- We need to consider the highest i<sub>L</sub> to be measured measured to ensure P<sub>is-loss</sub> ≤ 50mW | |||
- Highest I<sub>L(RMS)</sub> is at lowest V<sub>L(RMS)</sub> and highest VA specified (i.e., I<sub>L(RMS)</sub> = 7.5VA/13.6V = 0.55A<sub>RMS</sub>) | |||
- Using this information we can derive the relation | |||
\\[ P\_{is-loss} = I^2\_{L(RMS)} R\_s \quad \Rightarrow \quad 0.05 \geq 0.55^2 R\_s \quad \Rightarrow \quad R\_s \leq 165 m\Omega \\] | |||
\\[ P\_\text{is-loss} = I^2\_\text{L(RMS)}\cdot R\_\text{s} \quad \Rightarrow \quad 0.05 \geq 0.55^2 R\_\text{s} \quad \Rightarrow \quad R\_\text{s} \leq 165\, \text{m}\Omega \\] | |||
- If R<sub>s</sub> is choosen as 160mΩ, V<sub>is</sub> measured at both highest and lowest i<sub>L</sub> are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Main Changes
Uses$\text{L}$ for 'load', and $L$ for an inductor
\text{L}
to distinguish betweenReplaces one-line
/
fractions with\frac
when possible\mathit{p.f.}
to avoid extra whitespace added between each character in maths mode\mathit
\mathtt
for register variables, egUses
\cos
and\sin
commands to property typeset sinusoidal functionsProperly typesets quantities and units
Type of Change
Why Should This Be Merged?
I believe these changes make it much easier to visually discriminate between the different mathematical content of the lecture slides by properly typesetting variables and text annotations.
How Has This Been Tested?
cs209.pdf
cs209.zip
I have tested this with a$\LaTeX$ document as above, with the source in the following format:
A staging environment is live at
https://jamesnzl.github.io/uoa-ece209.github.io
where all changes can be previewed.I have also tried to respect line-width with inline equations and line-height with block equations to avoid slide overflows, and have fully tested this in the staging environment.